package com.ruoyi.project.kbjz.mapper;

import com.ruoyi.project.kbjz.domain.KbjzPatient;
import org.apache.ibatis.annotations.Mapper;


@Mapper
public interface KbjzPatientMapper {
    /**
     * 根据患者的身份证查询患者档案信息
     * @param patientCard
     * @return
     */
    KbjzPatient selectPatientByPatientCard(String patientCard);

    /**
     * 添加患者信息
     * @param kbjzPatient
     * @return
     */
    int addPatient(KbjzPatient kbjzPatient);
}
